import {Button} from "antd";

const Index=({record,edit})=>{
    return <>
        <Button type="primary" className={'button-default'} size={'small'}
                onClick={() => edit(record)}>
            申请借用
        </Button>

    </>
}
//编辑与删除组件
export default Index;
